angular.module('ilapp').controller(
    'homeController',
    function($rootScope, $scope, $http, $location) {
        $rootScope.path = $location.path();

        $http.get('/api/file').then(function(data) {
            console.log(data);
        });

    });